@import "common";

html, body{
	height: 100%;
}
#main{
	position: relative;
	width: 100%;
	height: 100%;
	font-size: 0.14rem;
	padding: 0.5rem 0 0.1rem;
	overflow: auto;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
}
.github{
	padding-left: 1.5em;
	font-family: Consolas, sans-serif, serif;
	font-size: 0.16rem;
	color: #6acba8;
	background-image: url(../img/github.png);
	background-repeat: no-repeat;
	background-position: 0 center;
	background-size: 1em auto;
	cursor: pointer;

	&:hover{
		color: #33b084;
	}
}
.whoami{
	position: relative;
	font-size: 0.3rem;
	text-align: center;
	font-family: Consolas, sans-serif, serif;
}
.version{
	text-align: center;
	font-size: 0.18rem;
	font-family: Consolas, sans-serif, serif;
	color: #999999;
	margin: 0.1rem 0 0.3rem;
}
.docs{
	color: white;
	width: 2.4rem;
	margin: 0 auto;

	&:after{
		@include clearFloat;
	}

	> span{
		display: block;
		background: #6acba8;
		margin-top: 0.1rem;
		border-radius: 0.5rem;
		padding: 0.05rem 0.1rem 0.05rem 0.3rem;
		background-image: url(../img/itm.png);
		background-repeat: no-repeat;
		background-position: 0.1rem center;
		background-size: auto 1.2em;
	}
}
.download{
	position: relative;
	margin: 0.4rem 0.2rem 0;
	text-align: center;
	color: white;
	background: #33b084;
	line-height: 0.4rem;
	border-radius: 0.5rem;
}
.author, .beian{
	margin-top: 0.1rem;
	width: 100%;
	color: #999999;
	font-size: 0.1rem;
	text-align: center;
}
.beian{
	cursor: pointer;
	text-decoration: underline;
}

#demos{
	.body{
		padding: 0.1rem 0;
		overflow: auto;
		background-color: transparent;
		-webkit-overflow-scrolling: touch;
	}
	
	.demo{
		padding: 0 .1rem;
		line-height: .4rem;
		margin-top: .1rem;
		background-color: #fff;

		&:first-child{
			margin-top: 0;
		}
	}
}

#gittalk{
	.body{
		padding: 0 0.12rem;
	}
}